package com.hduong.springcloud;/**
 * Created by dudu on 2020/3/23.
 */

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <h3>spring-cloud-demo-parent</h3>
 * <p>com.hduong.springcloud.AccountApplicatoin</p>
 *  下订单 --》 减库存 --》 扣余额 --》 改订单状态 ---> 是一个事务流程
 * @author : hduong
 * @version : 1.0
 * @date : 2020-03-23 00:06
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableFeignClients
public class AccountApplicatoin {
    public static void main(String[] args) {
        SpringApplication.run(AccountApplicatoin.class, args);
    }
}
